package post_to_in_pkg.lexer;

public class ReservedToken extends Token{
	Label label=Label.NOP;
	
	public ReservedToken(String args) {
		super(args, Tag.OP_SAVED);
	}
	
	public ReservedToken(String args,Label l) {
		super(args,Tag.OP_SAVED);
		label=l;
	}
	
	public Label getLabel(){
		return label;
	}
	
	public static final ReservedToken OP_IF=new ReservedToken("OP_IF",Label.IF),
			OP_ENDIF=new ReservedToken("OP_ENDIF",Label.ENDIF),
			OP_NOTIF=new ReservedToken("OP_NOTIF",Label.NOTIF),
			OP_ELSE=new ReservedToken("OP_ELSE",Label.ELSE),
			OP_RETURN=new ReservedToken("OP_RETURN",Label.RET),
			OP_NOP=new ReservedToken("OP_NOP",Label.NOP);
}
